package com.pdg.dungeondelver.defaulttheme;

import java.util.Random;

import com.pdg.dungeondelver.engine.RandomNumberGenerator;

public class DefaultRandomNumberGenerator implements RandomNumberGenerator{

	private Random random = new Random();
	@Override
	public Integer next(Integer maximum) {
		return next(0,maximum);
	}

	@Override
	public Integer next(Integer minimum, Integer maximum) {
		return random.nextInt(maximum-minimum)+minimum;
	}

}
